﻿using System.ComponentModel.DataAnnotations;

namespace AvoidForgettingApi.Entities.Models.Approval
{
    public class CashierPayRequest
    {
        /// <summary>
        /// 单据号
        /// </summary>
        [Required(ErrorMessage ="BillNo为必传项")]
        public string BillNo { get; set; }

        /// <summary>
        /// 费用类型
        /// </summary>
        [Required(ErrorMessage = "BillType为必传项")]
        public BillType BillType { get; set; }


        /// <summary>
        /// 操作人钉钉id
        /// </summary>
        [Required(ErrorMessage = "DDId为必传项")]
        public string DDId { get; set; }
    }
}
